package com.tbycoder.tby.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author tby
 * @since 2021-05-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="IposDiscussionPublisher对象", description="")
@Builder
public class IposDiscussionPublisher extends Model<IposDiscussionPublisher> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "发表人id")
    private String publisherId;

    @ApiModelProperty(value = "发表内容")
    private String publisherContent;

    @ApiModelProperty(value = "创建时间")
    private LocalDateTime createTime;


    @Override
    protected Serializable pkVal() {
        return this.publisherContent;
    }

}
